package com.aaa.controller;


import com.aaa.commen.entity.Result;
import com.aaa.service.IEcoAssetInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author ${author}
 * @since 2021-02-24
 */
@RestController
@RequestMapping("/ecoAssetInfo")
public class EcoAssetInfoController {

    @Autowired
    private IEcoAssetInfoService ecoAssetInfoService;

    @GetMapping("listEcoOwnerShip")
    public Result listEcoOwnerShip(){
        return ecoAssetInfoService.queryEcoOwnerShip();
    }

}

